<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<meta name="decorator" content="sysDefault"/>
</head>
<body>
	<div class="container-fluid">
		<div class="row">
			<div class="col-xs-12">
				<div class="panel panel-default">
				  <div class="panel-heading">
				    <h3 class="panel-title">
				    	数据信息
						<a class="btn btn-default btn-sm pull-right" role="button" href="javascript:void(0)" onclick="history.go(-1)">返回</a>
				    </h3>
				  </div>
				  	<tags:message content="${message}" />
				  	<table class="table table-bordered">
					  <tbody>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>券种ID:</strong></td>
					  		<td>
								${couponType.id}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>14----券种类型（普通券、AB券）:</strong></td>
					  		<td>
								<c:forEach items="${codeDList}" var="codeD">
									<c:if test="${couponType.couponTypeLb == codeD.codeNo}">
										${codeD.codeName}
									</c:if>
								</c:forEach>
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>券种编码:</strong></td>
					  		<td>
								${couponType.couponTypeNo}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>券种名称:</strong></td>
					  		<td>
								${couponType.couponTypeName}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>如果是AB券，则需要设置优先级1为最大:</strong></td>
					  		<td>
								${couponType.couponLevel}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>CREATE_BY_:</strong></td>
					  		<td>
								${couponType.createBy}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>CREATE_TIME_:</strong></td>
					  		<td>
								<fmt:formatDate value="${couponType.createTime}" pattern="yyyy-MM-dd HH:mm:ss" />
							</td>
					  	</tr>
					  </tbody>
					</table>
				  <div class="panel-footer"></div>
				</div>			
			</div>
		</div>
	</div>
</body>
</html>